package com.xiaoyung.easyisapisdk.common.workflow.request;

//import io.swagger.annotations.ApiModelProperty;


public class ServiceApiRequest<T>{
	
	//@ApiModelProperty(value = "appId")
	private String appId;
	
	//@ApiModelProperty(value = "租户id")
	private String tenantId;
	
	//@ApiModelProperty(value = "参数")
	private T params;
	
	public ServiceApiRequest() {
		
	}
	
	public ServiceApiRequest(String appId,String tenantId,T params) {
		this.appId = appId;
		this.tenantId = tenantId;
		this.params = params;
	}
	
	/*public PageData toPageData() {
		PageData pd = new PageData();
		if (this != null) {
			pd.putAll(JSON.parseObject(JSON.toJSONString(this)));
		}
		return pd;
	}*/

	public String getTenantId() {
		return tenantId;
	}

	public void setTenantId(String tenantId) {
		this.tenantId = tenantId;
	}

	public T getParams() {
		return params;
	}

	public void setParams(T params) {
		this.params = params;
	}

	public String getAppId() {
		return appId;
	}

	public void setAppId(String appId) {
		this.appId = appId;
	}

	
}

